<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		div {
			width: 600px;
			height: 400px;
			border: 1px solid red;
			text-align: center;
		}
		img {
			vertical-align: middle;
			border: 1px solid #000;
		}
		span{
			height:  100%;
			display: inline-block;
			vertical-align: middle;
		}
		p {
			width: 100%;
			height: 100%;
			background: url(1.jpg) no-repeat;
			background-size: 100%;
		}
	</style>
</head>
<body>
	<div>
		<img src="1.jpg"><span></span>
	</div>
</body>
</html>